package com.masterclient.app.modules.shop.beans;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/**
 * @auther hm
 * @date 2020/3/6.
 */
public class StockChangeBean {

    @SerializedName("total_stock")
    public String totalStock;
    @SerializedName("home_stock")
    public String homeStock;
    @SerializedName("store_stock")
    public String storeStock;
    @SerializedName("search_select")
    public SearchSelectBean searchSelect;
    @SerializedName("change_list")
    public List<ChangeBean> changeList;
    @SerializedName("has_more")
    public boolean hasMore;

    public static class SearchSelectBean{
        @SerializedName("spec")
        public specBean spec;
        @SerializedName("change_type")
        public specBean changeType;
        @SerializedName("stock_type")
        public specBean stockType;
        @SerializedName("time_type")
        public specBean timeType;

        public static class specBean{
            @SerializedName("select_default")
            public defaultBean defaultBean;
            @SerializedName("list")
            public List<defaultBean> list;

            public static class defaultBean{
                @SerializedName("title")
                public String title;
                @SerializedName("value")
                public String value;

                public boolean isCheck = false;
            }
        }
    }

    public static class ChangeBean{
        @SerializedName("stock_type")
        public String stockType;
        @SerializedName("stock_type_title")
        public String stockTypeTitle;
        @SerializedName("title")
        public String title;
        @SerializedName("change_count")
        public String changeCount;
        @SerializedName("spec")
        public String spec;
        @SerializedName("order_id")
        public String orderId;
        @SerializedName("biz_no")
        public String bizNo;
        @SerializedName("change_time")
        public String changeTime;
        @SerializedName("reason_title")
        public String reasonTitle;
        @SerializedName("reason_desc")
        public String reasonDesc;
        @SerializedName("redirect_type")
        public String redirectType;
        @SerializedName("redirect_params")
        public ParamsBean redirectParams;

        public static class ParamsBean{
            @SerializedName("order_no")
            public String orderNo;
            @SerializedName("order_id")
            public String orderId;
            @SerializedName("order_product_id")
            public String orderProductId;
            @SerializedName("refund_no")
            public String refundNo;
        }
    }
}
